package com.rjwh.dingdong.client.mvp.presenter;

import com.aishua.lib.task.AsResult;
import com.orangegangsters.github.swipyrefreshlayout.library.SwipyRefreshLayoutDirection;

/**
 * Created by wby on 2016/6/2.
 */
public interface ICommunityPostPresenter {
    /**
     * 获取帖子列表
     *  @param modularid
     * @param pageNumber
     * @param filter
     * @param isRefresh
     * @param direction
     */
    public void doGetTopicList(String modularid, int pageNumber, String filter, boolean isRefresh, SwipyRefreshLayoutDirection direction);

    public void onServerDataAcquired(int businessType, AsResult mAsResult, boolean isRefresh);
}
